aux_source_directory(./ _SOURCES)
set(CODE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(Event _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(Lib _SOURCES)
set(CODE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(MessageDispatch _SOURCES)
set(CODE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(NetPack _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(Reader _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(TableData _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(TableDataEx _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(TaskBalance _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(Timer _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(Utility _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(ErrCollect _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(AttrMgr _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(Item _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(ReliveMgr _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(ProfileLog _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES})

aux_source_directory(../../include/ProtoBuffer _SOURCES)
set(CORE_SOURCES ${CODE_SOURCES} ${_SOURCES} ../../include/Common/ComDefine.pb.cc)

add_library(common${OUTPUT_SUFFIX} ${CORE_SOURCES})
